package gamagora.box2d
{
	import Box2D.Collision.Shapes.b2CircleShape;
	import Box2D.Collision.Shapes.b2PolygonShape;
	import Box2D.Common.Math.b2Vec2;
	import Box2D.Dynamics.Joints.b2RevoluteJointDef;
	import Box2D.Dynamics.b2Body;
	
	import org.flixel.FlxGroup;
	import org.flixel.FlxSprite;
	import org.flixel.FlxState;

	public class OSPhysicBridge extends OSPhysicSprite
	{
		protected var _group:FlxGroup;
		protected var _nbPlanks:uint;
		
		public function OSPhysicBridge(x:Number, y:Number, nbPlanks:uint = 10)
		{
			super(x, y);
			_nbSprites = nbPlanks;
			_nbPlanks = nbPlanks;
			setData(OSPhysicData.BRIDGE);
		}
		
		public override function create(group:FlxGroup):void
		{
			super.create(group);
			_group = group;
		}
	}
}